﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PlacesInfo.aspx.cs" MasterPageFile="~/Home.Master"
    Inherits="SLIITPro.PlacesInfo" %>

<%@ Register Assembly="Artem.GoogleMap" Namespace="Artem.Web.UI.Controls" TagPrefix="cc1" %>
<%@ Register Src="~/Controls/Comment.ascx" TagName="comment" TagPrefix="uc2" %>
<%@ Register Src="~/Controls/Widget.ascx" TagName="widget" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="BodyContentPlaceHolder" runat="server">
    <asp:PlaceHolder ID="ImageGallery" runat="server"></asp:PlaceHolder>
    <table style="width: 100%" class="gridtable">
        <tr>
            <td style="width: 35%;" valign="top">
                <table style="width: 100%">
                    <tr>
                        <th colspan="2">
                            <asp:Label ID="lblBusinessName" runat="server"></asp:Label>
                        </th>
                    </tr>
                    <tr>
                        <td>
                            City
                        </td>
                        <td>
                            <asp:Label ID="lblCity" runat="server" Style="font-weight: 700"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Street
                        </td>
                        <td>
                            <asp:Label ID="lblStreet" runat="server" Style="font-weight: 700"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Telephone
                        </td>
                        <td>
                            <asp:Label ID="lblPhone" runat="server" Style="font-weight: 700"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Email
                        </td>
                        <td>
                            <asp:Label ID="lblEmail" runat="server" Style="font-weight: 700"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <uc3:widget ID="WidgetComment" runat="server"></uc3:widget>
                        </td>
                    </tr>
                </table>
            </td>
            <td style="width: 100%;" align="right" valign="top">
                <div>
                    <asp:UpdatePanel ID="upGoogleMap" runat="server" UpdateMode="Conditional">
                        <ContentTemplate>
                            <artem:GoogleMap ID="GoogleMapBusiness" runat="server" Width="100%" Height="400px"
                                Zoom="10" EnableGoogleBar="True" EnableScrollWheelZoom="True" InsideUpdatePanel="True"
                                StreetViewMode="Panorama">
                            </artem:GoogleMap>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>
            </td>
        </tr>
    </table>
    <br />
    <asp:UpdatePanel ID="upcomment" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:PlaceHolder ID="cmtPlace" runat="server"></asp:PlaceHolder>
            <asp:Label ID="lblAwaiting" runat="server" ForeColor="Green"></asp:Label>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
